﻿@using BemEstarEmprego.Web.Helpers
@using BemEstarEmprego.Entities
<div style="margin: 20px;">
	Total de Candidatos: <strong>
		@ViewData["totalCandidato"]</strong>
	<div style="background: #C6C8CF; padding: 10px 10px; -moz-border-radius: 12px; border-radius: 12px;">
		<div style="background: #C3CBE6;">
			<table class="table table-hover">
				<tbody>
					<tr>
						<th>
							ID
						</th>
						<th>
							Nome
						</th>
						<th>
							Email
						</th>
						<th>
							Telefone
						</th>
					</tr>
					@foreach (pessoa candidato in (List<pessoa>)ViewData["empresas"])
	 {
						<tr>
							<td>
								@Html.ActionLink(candidato.ID.ToString(), "Editar" + "/" + candidato.ID.ToString())
							</td>
							<td>
								@candidato.NOME
							</td>
							<td>
								@candidato.EMAIL
							</td>
							<td>
								@candidato.TELEFONE
							</td>
						</tr>
	 }
				</tbody>
			</table>
		</div>
		<br />
		<strong>
			@if ((string)ViewData["pageLinks"] != "")
   { @Html.Raw(ViewBag.Links) }
		</strong>
	</div>
	<br />
</div>

